package chapter03;

public class Person {
    //私有成员
    private int age = 10;
    //默认访问权限
    String sex;
    //公共访问权限
    public String name;
    public void introduce(){
        System.out.println("姓名："+name);
        System.out.println("年龄："+age);
        System.out.println("性别："+sex);
    }
}
